package com.groupbuying.sysconfig.dao;


import com.groupbuying.sysconfig.domain.SysconfigPlatformInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 微信支付宝配置中心
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-10-16 10:32:51
 * @des
 */

@Mapper
@Repository
public interface SysconfigPlatformInfoDao {

	SysconfigPlatformInfoDO get(String appId);
	
	List<SysconfigPlatformInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigPlatformInfoDO sysconfigPlatformInfo);
	
	int update(SysconfigPlatformInfoDO sysconfigPlatformInfo);
	
	int remove(String app_id);
	
	int batchRemove(String[] appIds);

    /*获取配置中心信息*/
	SysconfigPlatformInfoDO getConfigurationCenter(@Param("indicate") String indicate, @Param("tag") String tag);
}
